import http from '../../utils/request'

export async function getBankHaveQuestionSumByType( params) {
  return http.request({
    url: `/teacher/getBankHaveQuestionSumByType`,
    method: 'get',
    params
  })
}
export async function deleteQuestionBankById(params) {
  return http.request({
    url: `/teacher/deleteQuestionBank`,
    method: 'get',
    params
  })
}
export async function getExamRecord(data) {
    return http.request({
      url: `/teacher/addQuestionBank`,
      method: 'post',
      data
    })
  }
  